package com.gkey.demo.redis;

import redis.clients.jedis.Jedis;

public class RedisTool2 {

	public static void main(String[] args) {
	     
	      Jedis jedis = new Jedis("192.168.5.231",6379);         
	      jedis.set("key", "Hello world!");
	      System.out.println("key:"+jedis.get("key"));
	 }
	
	
}
